Otherwise the rubberband uses the wrong scroll offsets.
int x, y;
guint i;
- gtk_list_base_allocate_rubberband (GTK_LIST_BASE (widget));
-
orientation = gtk_list_base_get_orientation (GTK_LIST_BASE (self));
scroll_policy = gtk_list_base_get_scroll_policy (GTK_LIST_BASE (self), orientation);
opposite_orientation = OPPOSITE_ORIENTATION (orientation);
}
}
}
+
+ gtk_list_base_allocate_rubberband (GTK_LIST_BASE (widget));
}
static void
GtkOrientation orientation, opposite_orientation;
GtkScrollablePolicy scroll_policy;
- gtk_list_base_allocate_rubberband (GTK_LIST_BASE (self));
-
orientation = gtk_list_base_get_orientation (GTK_LIST_BASE (self));
opposite_orientation = OPPOSITE_ORIENTATION (orientation);
scroll_policy = gtk_list_base_get_scroll_policy (GTK_LIST_BASE (self), orientation);
y += row->height * row->parent.n_items;
}
+
+ gtk_list_base_allocate_rubberband (GTK_LIST_BASE (self));
}
static void